export const isSSR = (function () {
  try {
    return !(typeof window !== "undefined" && document !== undefined);
  } catch {
    return true;
  }
})();
